package com.ftg.learn.day10.factory;

import lombok.Data;

/**
 * 冰棍
 *
 * @author kangjx
 * @version 1.0
 * @date 2023/8/10 上午11:02
 */
@Data
public class Ice {

    private String type;

    private String name;

    private double price;

    public void eat(){
        System.out.println("吃.....");
    }

}
